package cn.jbit.test.io.nio.client;

/**
 * 源码学院只为培养优秀的bat程序员而生
 *
 * @author 学员张在成
 * @data 2020/8/10
 *
 *  java中NIO的客户端的实现
 *
 *
 */
public class NioClient {

    public static void main(String[] args) {
        String hostname="localhost";
        int port=8080;
        NioClientHandler clientHandler=new NioClientHandler(hostname,port);
        new Thread(clientHandler,"nioclient-001").start();
    }
}
